home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / getuid.man < prev    next >
Encoding:
Text File  |  1989-02-18  |  992 b   |  67 lines

  1.  
  2.  
  3.  
  4. GETUID                C Library Procedures                 GETUID
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      getuid, geteuid - get user identity
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
  13.  
  14.      uuiidd == ggeettuuiidd(())
  15.      uuiidd__tt uuiidd;;
  16.  
  17.      eeuuiidd == ggeetteeuuiidd(())
  18.      uuiidd__tt eeuuiidd;;
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      _G_e_t_u_i_d returns the real user ID of the current process,
  22.      _g_e_t_e_u_i_d the effective user ID.
  23.  
  24.      The real user ID identifies the person who is logged in.
  25.      The effective user ID gives the process additional permis-
  26.      sions during execution of "set-user-ID" mode processes,
  27.      which use _g_e_t_u_i_d to determine the real-user-id of the pro-
  28.      cess that invoked them.
  29.  
  30. SSEEEE AALLSSOO
  31.      getgid(2), setreuid(2)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0              January 7, 1986                        1
  64.  
  65.  
  66.  
  67.